from com.mysqlconnection import mysql_connect
from  init_cs import dictfetchall
listzone_sql='SELECT id,NAME,guest_network_cidr,networktype,is_local_storage_enabled FROM data_center WHERE removed IS NULL'

    
def get_all_zone_list():
    cnn=mysql_connect()
    cnn.execute(listzone_sql)
    return dictfetchall(cnn)